
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title></title>
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" th:href="@{/Css/bootstrap.css}" />
    <link rel="stylesheet" type="text/css" th:href="@{/Css/bootstrap-responsive.css}" />
    <link rel="stylesheet" type="text/css" th:href="@{/Css/style.css}" />
    <script type="text/javascript" th:src="@{/Js/jquery.js}"></script>
    <script type="text/javascript" th:src="@{/Js/jquery.sorted.js}"></script>
    <script type="text/javascript" th:src="@{/Js/bootstrap.js}"></script>
    <script type="text/javascript" th:src="@{/Js/ckform.js}"></script>
    <script type="text/javascript" th:src="@{/Js/common.js}"></script>



    <style type="text/css">
        body {
            padding-bottom: 40px;
        }
        .sidebar-nav {
            padding: 9px 0;
        }

        @media (max-width: 980px) {
            /* Enable use of floated navbar text */
            .navbar-text.pull-right {
                float: none;
                padding-left: 5px;
                padding-right: 5px;
            }
        }


    </style>
</head>
<body>
<form th:action="@{updateuser}" method="post" class="definewidth m20">
    <table class="table table-bordered table-hover definewidth m10">
        <tr>
            <td width="10%" class="tableleft">登录名</td>
            <td><input type="hidden" name="userid" th:value="${user.userid}"/></td>
        </tr>
        <tr>
            <td width="10%" class="tableleft">登录名</td>
            <td><input type="text" name="username" th:value="${user.username}"/></td>
        </tr>
        <tr>
            <td class="tableleft">姓名</td>
            <td><input type="password" name="realname" th:value="${user.realname}"/></td>
        </tr>
        <tr>
            <td class="tableleft">email</td>
            <td><input type="text" name="email" th:value="${user.email}"/></td>
        </tr>
<!--        <tr>-->
<!--            <td class="tableleft"></td>-->
<!--            <td><input type="text" name="email"/></td>-->
<!--        </tr>-->
        <!--        <tr>-->
        <!--            <td class="tableleft">状态</td>-->
        <!--            <td>-->
        <!--                <input type="radio" name="status" value="1" checked/> 启用-->
        <!--                <input type="radio" name="status" value="0"/> 禁用-->
        <!--            </td>-->
        <!--        </tr>-->
        <!--        <tr>-->
        <!--            <td class="tableleft">角色</td>-->
        <!--            <td>{$role_checkbox}</td>-->
        <!--        </tr>-->
        <tr>
            <td class="tableleft"></td>
            <td>
                <button type="submit" class="btn btn-primary" >保存</button> &nbsp;&nbsp;<button type="button" class="btn btn-success" name="backid" id="backid">返回列表</button>
            </td>
        </tr>
    </table>
</form>
</body>
</html>
<script>
    $(function () {
        $('#backid').click(function(){
            window.location.href="index.html";
        });

    });
</script>